<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SessionsDataset" targetNamespace="http://tempuri.org/SessionsDataset.xsd" xmlns:mstns="http://tempuri.org/SessionsDataset.xsd" xmlns="http://tempuri.org/SessionsDataset.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TPCopyLoggingConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="TPCopyLoggingConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Microsoft.Vsts.Ranger.Migration.TfsToTfs.Service.Properties.Settings.GlobalReference.Default.TPCopyLoggingConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SessionInstancesTableAdapter" GeneratorDataComponentClassName="SessionInstancesTableAdapter" Name="SessionInstances" UserDataComponentName="SessionInstancesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TPCopyLoggingConnectionString (Settings)" DbObjectName="TfsSyncTool.dbo.sp_GetSessionInstances" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
                    <CommandText>dbo.sp_GetSessionInstances</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IncludeCompleted" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SessionInstanceID" DataSetColumn="SessionInstanceID" />
              <Mapping SourceColumn="CurrentStatus" DataSetColumn="CurrentStatus" />
              <Mapping SourceColumn="StartTime" DataSetColumn="StartTime" />
              <Mapping SourceColumn="CompleteTime" DataSetColumn="CompleteTime" />
              <Mapping SourceColumn="SessionID" DataSetColumn="SessionID" />
              <Mapping SourceColumn="OneTimeOnly" DataSetColumn="OneTimeOnly" />
              <Mapping SourceColumn="OneWayMigration" DataSetColumn="OneWayMigration" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="TPCopyLoggingConnectionString (Settings)" DbObjectName="TfsSyncTool.dbo.sp_InsertSessionInstance" DbObjectType="StoredProcedure" GenerateShortCommands="True" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="sp_InsertSessionInstance" Modifier="Public" Name="sp_InsertSessionInstance" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy" UserSourceName="sp_InsertSessionInstance">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
                    <CommandText>dbo.sp_InsertSessionInstance</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CurrentStatus" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartTime" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SessionID" Precision="0" ProviderType="VarChar" Scale="0" Size="250" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@OneTimeOnly" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@OneWayMigration" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="InputOutput" ParameterName="@SessionInstanceID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="TPCopyLoggingConnectionString (Settings)" DbObjectName="TfsSyncTool.dbo.sp_UpdateSessionInstance" DbObjectType="StoredProcedure" GenerateShortCommands="True" GeneratorSourceName="sp_UpdateSessionInstance" Modifier="Public" Name="sp_UpdateSessionInstance" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy1" UserSourceName="sp_UpdateSessionInstance">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
                    <CommandText>dbo.sp_UpdateSessionInstance</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SessionInstanceID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CurrentStatus" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EventsTableAdapter" GeneratorDataComponentClassName="EventsTableAdapter" Name="Events" UserDataComponentName="EventsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TPCopyLoggingConnectionString (Settings)" DbObjectName="TfsSyncTool.dbo.sp_GetEventsForSessionInstance" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
                    <CommandText>dbo.sp_GetEventsForSessionInstance</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SessionInstanceID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EventID" DataSetColumn="EventID" />
              <Mapping SourceColumn="SessionInstanceID" DataSetColumn="SessionInstanceID" />
              <Mapping SourceColumn="EventType" DataSetColumn="EventType" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Exception" DataSetColumn="Exception" />
              <Mapping SourceColumn="MigratedItemCount" DataSetColumn="MigratedItemCount" />
              <Mapping SourceColumn="MigratedFailureCount" DataSetColumn="MigratedFailureCount" />
              <Mapping SourceColumn="Time" DataSetColumn="Time" />
              <Mapping SourceColumn="SourceID" DataSetColumn="SourceID" />
              <Mapping SourceColumn="SourceRevisions" DataSetColumn="SourceRevisions" />
              <Mapping SourceColumn="TargetID" DataSetColumn="TargetID" />
              <Mapping SourceColumn="TargetRevisions" DataSetColumn="TargetRevisions" />
              <Mapping SourceColumn="Ids" DataSetColumn="Ids" />
              <Mapping SourceColumn="Reaction" DataSetColumn="Reaction" />
              <Mapping SourceColumn="FieldName" DataSetColumn="FieldName" />
              <Mapping SourceColumn="Username" DataSetColumn="Username" />
              <Mapping SourceColumn="WorkItemStore" DataSetColumn="WorkItemStore" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="SessionsDataset" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="SessionsDataset" msprop:Generator_DataSetName="SessionsDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="RunningSessions" msprop:Generator_UserTableName="RunningSessions" msprop:Generator_RowDeletedName="RunningSessionsRowDeleted" msprop:Generator_RowChangedName="RunningSessionsRowChanged" msprop:Generator_RowClassName="RunningSessionsRow" msprop:Generator_RowChangingName="RunningSessionsRowChanging" msprop:Generator_RowEvArgName="RunningSessionsRowChangeEvent" msprop:Generator_RowEvHandlerName="RunningSessionsRowChangeEventHandler" msprop:Generator_TableClassName="RunningSessionsDataTable" msprop:Generator_TableVarName="tableRunningSessions" msprop:Generator_RowDeletingName="RunningSessionsRowDeleting" msprop:Generator_TablePropName="RunningSessions">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SessionId" msprop:Generator_UserColumnName="SessionId" msprop:Generator_ColumnPropNameInRow="SessionId" msprop:Generator_ColumnVarNameInTable="columnSessionId" msprop:Generator_ColumnPropNameInTable="SessionIdColumn" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SessionInstances" msprop:Generator_UserTableName="SessionInstances" msprop:Generator_RowDeletedName="SessionInstancesRowDeleted" msprop:Generator_RowChangedName="SessionInstancesRowChanged" msprop:Generator_RowClassName="SessionInstancesRow" msprop:Generator_RowChangingName="SessionInstancesRowChanging" msprop:Generator_RowEvArgName="SessionInstancesRowChangeEvent" msprop:Generator_RowEvHandlerName="SessionInstancesRowChangeEventHandler" msprop:Generator_TableClassName="SessionInstancesDataTable" msprop:Generator_TableVarName="tableSessionInstances" msprop:Generator_RowDeletingName="SessionInstancesRowDeleting" msprop:Generator_TablePropName="SessionInstances">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SessionInstanceID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="SessionInstanceID" msprop:Generator_ColumnPropNameInRow="SessionInstanceID" msprop:Generator_ColumnVarNameInTable="columnSessionInstanceID" msprop:Generator_ColumnPropNameInTable="SessionInstanceIDColumn" type="xs:int" />
              <xs:element name="CurrentStatus" msprop:Generator_UserColumnName="CurrentStatus" msprop:Generator_ColumnPropNameInRow="CurrentStatus" msprop:Generator_ColumnVarNameInTable="columnCurrentStatus" msprop:Generator_ColumnPropNameInTable="CurrentStatusColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartTime" msprop:Generator_UserColumnName="StartTime" msprop:Generator_ColumnPropNameInRow="StartTime" msprop:Generator_ColumnVarNameInTable="columnStartTime" msprop:Generator_ColumnPropNameInTable="StartTimeColumn" type="xs:dateTime" />
              <xs:element name="CompleteTime" msprop:Generator_UserColumnName="CompleteTime" msprop:Generator_ColumnPropNameInRow="CompleteTime" msprop:Generator_ColumnVarNameInTable="columnCompleteTime" msprop:Generator_ColumnPropNameInTable="CompleteTimeColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="SessionID" msprop:Generator_UserColumnName="SessionID" msprop:Generator_ColumnPropNameInRow="SessionID" msprop:Generator_ColumnVarNameInTable="columnSessionID" msprop:Generator_ColumnPropNameInTable="SessionIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OneTimeOnly" msprop:Generator_UserColumnName="OneTimeOnly" msprop:Generator_ColumnPropNameInRow="OneTimeOnly" msprop:Generator_ColumnVarNameInTable="columnOneTimeOnly" msprop:Generator_ColumnPropNameInTable="OneTimeOnlyColumn" type="xs:boolean" />
              <xs:element name="OneWayMigration" msprop:Generator_UserColumnName="OneWayMigration" msprop:Generator_ColumnPropNameInRow="OneWayMigration" msprop:Generator_ColumnVarNameInTable="columnOneWayMigration" msprop:Generator_ColumnPropNameInTable="OneWayMigrationColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Events" msprop:Generator_UserTableName="Events" msprop:Generator_RowDeletedName="EventsRowDeleted" msprop:Generator_RowChangedName="EventsRowChanged" msprop:Generator_RowClassName="EventsRow" msprop:Generator_RowChangingName="EventsRowChanging" msprop:Generator_RowEvArgName="EventsRowChangeEvent" msprop:Generator_RowEvHandlerName="EventsRowChangeEventHandler" msprop:Generator_TableClassName="EventsDataTable" msprop:Generator_TableVarName="tableEvents" msprop:Generator_RowDeletingName="EventsRowDeleting" msprop:Generator_TablePropName="Events">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EventID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="EventID" msprop:Generator_ColumnVarNameInTable="columnEventID" msprop:Generator_ColumnPropNameInRow="EventID" msprop:Generator_ColumnPropNameInTable="EventIDColumn" type="xs:long" />
              <xs:element name="SessionInstanceID" msprop:Generator_UserColumnName="SessionInstanceID" msprop:Generator_ColumnVarNameInTable="columnSessionInstanceID" msprop:Generator_ColumnPropNameInRow="SessionInstanceID" msprop:Generator_ColumnPropNameInTable="SessionInstanceIDColumn" type="xs:int" />
              <xs:element name="EventType" msprop:Generator_UserColumnName="EventType" msprop:Generator_ColumnVarNameInTable="columnEventType" msprop:Generator_ColumnPropNameInRow="EventType" msprop:Generator_ColumnPropNameInTable="EventTypeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Exception" msprop:Generator_UserColumnName="Exception" msprop:Generator_ColumnVarNameInTable="columnException" msprop:Generator_ColumnPropNameInRow="Exception" msprop:Generator_ColumnPropNameInTable="ExceptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MigratedItemCount" msprop:Generator_UserColumnName="MigratedItemCount" msprop:Generator_ColumnVarNameInTable="columnMigratedItemCount" msprop:Generator_ColumnPropNameInRow="MigratedItemCount" msprop:Generator_ColumnPropNameInTable="MigratedItemCountColumn" type="xs:long" minOccurs="0" />
              <xs:element name="MigratedFailureCount" msprop:Generator_UserColumnName="MigratedFailureCount" msprop:Generator_ColumnVarNameInTable="columnMigratedFailureCount" msprop:Generator_ColumnPropNameInRow="MigratedFailureCount" msprop:Generator_ColumnPropNameInTable="MigratedFailureCountColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Time" msprop:Generator_UserColumnName="Time" msprop:Generator_ColumnVarNameInTable="columnTime" msprop:Generator_ColumnPropNameInRow="Time" msprop:Generator_ColumnPropNameInTable="TimeColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="SourceID" msprop:Generator_UserColumnName="SourceID" msprop:Generator_ColumnVarNameInTable="columnSourceID" msprop:Generator_ColumnPropNameInRow="SourceID" msprop:Generator_ColumnPropNameInTable="SourceIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SourceRevisions" msprop:Generator_UserColumnName="SourceRevisions" msprop:Generator_ColumnVarNameInTable="columnSourceRevisions" msprop:Generator_ColumnPropNameInRow="SourceRevisions" msprop:Generator_ColumnPropNameInTable="SourceRevisionsColumn" type="xs:long" minOccurs="0" />
              <xs:element name="TargetID" msprop:Generator_UserColumnName="TargetID" msprop:Generator_ColumnVarNameInTable="columnTargetID" msprop:Generator_ColumnPropNameInRow="TargetID" msprop:Generator_ColumnPropNameInTable="TargetIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TargetRevisions" msprop:Generator_UserColumnName="TargetRevisions" msprop:Generator_ColumnVarNameInTable="columnTargetRevisions" msprop:Generator_ColumnPropNameInRow="TargetRevisions" msprop:Generator_ColumnPropNameInTable="TargetRevisionsColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Ids" msprop:Generator_UserColumnName="Ids" msprop:Generator_ColumnVarNameInTable="columnIds" msprop:Generator_ColumnPropNameInRow="Ids" msprop:Generator_ColumnPropNameInTable="IdsColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Reaction" msprop:Generator_UserColumnName="Reaction" msprop:Generator_ColumnVarNameInTable="columnReaction" msprop:Generator_ColumnPropNameInRow="Reaction" msprop:Generator_ColumnPropNameInTable="ReactionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FieldName" msprop:Generator_UserColumnName="FieldName" msprop:Generator_ColumnVarNameInTable="columnFieldName" msprop:Generator_ColumnPropNameInRow="FieldName" msprop:Generator_ColumnPropNameInTable="FieldNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Username" msprop:Generator_UserColumnName="Username" msprop:Generator_ColumnVarNameInTable="columnUsername" msprop:Generator_ColumnPropNameInRow="Username" msprop:Generator_ColumnPropNameInTable="UsernameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="WorkItemStore" msprop:Generator_UserColumnName="WorkItemStore" msprop:Generator_ColumnVarNameInTable="columnWorkItemStore" msprop:Generator_ColumnPropNameInRow="WorkItemStore" msprop:Generator_ColumnPropNameInTable="WorkItemStoreColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="RunningSessionsKey1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:RunningSessions" />
      <xs:field xpath="mstns:SessionId" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SessionInstances" />
      <xs:field xpath="mstns:SessionInstanceID" />
    </xs:unique>
    <xs:unique name="Events_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Events" />
      <xs:field xpath="mstns:EventID" />
    </xs:unique>
  </xs:element>
</xs:schema>